package com.caocaog.market.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caocaog.market.entity.GoodsCategories;
import org.apache.ibatis.annotations.Param;

/**
 * 商品分类
 *
 * @author chechen
 * @date 2022-04-13
 */
public interface GoodsCategoriesMapper extends BaseMapper<GoodsCategories> {

    /**
     * 查询商品分类信息分页
     *
     * @param page            分页信息
     * @param goodsCategories 查询条件
     * @return 商品分类分页
     */
    IPage<GoodsCategories> queryGoodsCategoriesPage(Page<GoodsCategories> page, @Param("goodsSort") GoodsCategories goodsCategories);

}
